package com.store.pojo;

import lombok.Data;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import java.util.Date;

//商品表实体类
@Data
public class Product {
    private Integer pid;
    private String proName;
    private Double proPrice;
    private String proPic;     //图片（写文件名）
    private String proDesc;    //商品描述
    private Integer proType;   //商品类别ID
    private Integer proSale;   //销量
    private Integer proHot;    //人气(可以通过销量计算，保留着，先不做)
    private Integer state;     // 0 未上架，1 已上架
    private Date createTime;
    private Date modifyTime;
}
